package com.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 后台菜单表
 * </p>
 *
 * @author rick
 * @since 2022-12-13 11:23:15
 */
@Getter
@Setter
@TableName("wk_admin_menu")
@ApiModel(value = "AdminMenu对象", description = "后台菜单表")
public class AdminMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("菜单ID")
    @TableId(value = "menu_id", type = IdType.AUTO)
    private Integer menuId;

    @ApiModelProperty("上级菜单ID")
    @TableField("parent_id")
    private Integer parentId;

    @ApiModelProperty("菜单名称")
    @TableField("menu_name")
    private String menuName;

    @ApiModelProperty("权限标识")
    @TableField("realm")
    private String realm;

    @ApiModelProperty("权限URL")
    @TableField("realm_url")
    private String realmUrl;

    @ApiModelProperty("所属模块")
    @TableField("realm_module")
    private String realmModule;

    @ApiModelProperty("菜单类型  1目录 2 菜单 3 按钮 4特殊")
    @TableField("menu_type")
    private Integer menuType;

    @ApiModelProperty("排序（同级有效）")
    @TableField("sort")
    private Integer sort;

    @ApiModelProperty("状态 1 启用 0 禁用")
    @TableField("status")
    private Integer status;

    @ApiModelProperty("菜单说明")
    @TableField("remarks")
    private String remarks;


}
